import request from '@/utils/request'
// 公司
export const getCustomerList = (data) => request.post('/customer/getCustomerList', data)
// 管线
export const getPipeLineListByCusId = (data) => request.post('/pipeLine/getPipeLineListByCusId', data)
// 监测点
export const getCheckPointListByLineId = (data) => request.post('/checkPoint/getCheckPointListByLineId', data)
// 测试桩列表
export const getKmlcpycListByPage = (data) => request.post('/kml/getKmlcpycListByPage', data)
// 测试桩列表排序
export const getTableInVisibleColumnList = (data) => request.post('/tc/getTableInVisibleColumnList', data)
// 测试桩列表排序
export const updateTableColumn = (data) => request.post('/tc/updateTableColumn', data)
// 测试桩列表删除
export const deleteKmlcpyc = (data) => request.post('/kml/deleteKmlcpyc', data)
// 测试桩列表导出
export const importCheckPonit = (data) => request.post('/reportForm/importCheckPonit', data, {
    responseType: 'blob'
})

// 恒电位仪列表
export const getKmlptycListByPage = (data) => request.post('/kml/getKmlptycListByPage', data)
// 恒电位仪列表删除
export const deleteKmlptyc = (data) => request.post('/kml/deleteKmlptyc', data)
// 恒电位仪列表导出
export const importKmlptyc = (data) => request.post('/reportForm/importKmlptyc', data, {
    responseType: 'blob'
})

// 同步卫星数据
export const getSynSatelliteListByPage = (data) => request.post('/synSate/getSynSatelliteListByPage', data)
// 同步卫星数据导出
export const importSynSatellite = (data) => request.post('/reportForm/importSynSatellite', data, {
    responseType: 'blob'
})

// 绝缘接头列表
export const getKmljyjtListByPage = (data) => request.post('/kml/getKmljyjtListByPage', data)
